package com.company.cloud.product.modules.api.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

/**
 * 商品一级分类
 */
public enum ProductTypeEnum implements BaseCodeEnum {
    Show_Product("1", "展示型商品(无交易)"),
    Trade_Product("2", "交易型商品(有交易)"),
    Third_Product("3", "第三方商品"),
    Un_Trade_Product("4", "非交易性艺术品");
    private String code;
    private String msg;

    ProductTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}